rofiles-fuse: Fix utime() support
authorAlexander Larsson <alexl@redhat.com>
Tue, 28 Nov 2017 14:23:39 +0000 (15:23 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 28 Nov 2017 14:45:10 +0000 (14:45 +0000)
commit6f1bf70a769204f0627a9d499ec9cf223947a325
tree1c53aab0db6db5ad0833d357ca582b76243dc526
parent82e2150b98bd1ad5149c1e86db22f8ffb2dd6a41
rofiles-fuse: Fix utime() support

We use utimens instead of utime, thus allowing nanosecond timestamps,
and also fixes a bug where we used to passed UTIME_OMIT to tv_nsec
which made the entire operation a no-op.

Closes: #1351
Approved by: cgwalters
src/rofiles-fuse/main.c